<h2>Modification de projet(s)</h2>
<?php if(count($aiassProjectsList) !== 0): ?>
	<ul class="project">
	<?php foreach($aiassProjectsList as $asmProject): ?>
		<form action="index.php?page=adminIndex&mod=project&action=edit&option=edit" method="post" class="cssForm">
			<?php
			switch($asmProject['statusProject']){
				case 1:
					$sColorStatus = '#900';
				break;
				case 2:
					$sColorStatus = '#090';
				break;
				case 3:
					$sColorStatus = '#009';
				break;
			}
			?>
			<li style="color:<?php echo $sColorStatus ?>">
				<input type="hidden" name="idProject" value="<?php echo $asmProject['idProject'] ?>" />
				<b><?php echo $asmProject['labelProject'] ?></b>  :<br />
				<?php echo nl2br($asmProject['descriptionProject']) ?>
			<p class="nolabel"><input type="submit" name="submit" value="Modifier" /></p>
			</li>
		</form>
	<?php endforeach; ?>
	</ul>
<?php else: ?>
	<p>Aucun projet n'a été créé.</p>
<?php endif; ?>
